{{extend "resource_layout.html"}}

{{block content_tool}}
{{if request.user.department in ('2', '3'):}}
    <a class="btn btn-blue" href="/resource/usage/edit">人员调整</a>
{{pass}}
{{end}}

{{block content_main}}
<div class="content">
    <div class="query">
        {{embed query_form}}
    </div>
    {{table_id='usage'}}
    {{include "inc_table.html"}}
    <script>
        $(function(){
            create_table("{{=request.path}}", download=true);
        });
    </script>
</div>
{{end}}

{{block sub_menu}}
{{sub_menu(menu_items, 'resource', 'usage')}}
{{end}}
